{layout name="admin@common/template" /}
<section class="panel panel-default">
    <header class="panel-heading">
        <h3 class="m-b-none">轮播图</h3>
    </header>
    <div class="table-responsive">
        <section class="panel panel-default">
            <div class="panel-body">
                <div class="row form-horizontal">
                    <div class="col-sm-12">
                        <div class="row">
                            <iframe style="display: none;" name="ifr"></iframe>
                            <form target="ifr" action="{:url('admin/product/add_product')}"
                                  enctype="multipart/form-data"
                                  method="post">
                                <div class="col-sm-10 text-center">
                                    <input type="file" name="add_img" class="filestyle my_file"
                                           data-icon="false"
                                           data-classButton="btn btn-default"
                                           data-classInput="form-control inline v-middle input-s">
                                </div>
                                <div class="col-sm-2 text-center">
                                    <input type="submit" class="btn btn-success btn-md confirm_add" disabled value="确定">
                                </div>
                            </form>
                        </div>
                        <div class="line line-dashed b-b line-lg pull-in"></div>
                        <div class="row">
                            <div class="col-sm-12 text-center">
                                <img class="new_photo" style="display:none; width: 50%;">
                            </div>
                        </div>
                        <div class="line line-dashed b-b line-lg pull-in"></div>
                    </div>
                </div>
            </div>
        </section>
    </div>
</section>
<script src="__PUBLIC__/static/js/product/product.js"></script>